#!/bin/zsh
curl http://www.scpwiki.com/scp-`echo "import random\nprint(random.randint(1,5999))" | python3` | python3 parsescp.py | espeak -p 15 --stdout | gst-launch-1.0 -vvv fdsrc fd=0 ! decodebin ! audioconvert ! audiodynamic characteristics=soft-knee mode=compressor threshold=0.5 ratio=0.5 ! audioecho delay=20000000 intensity=1 ! audioconvert ! flvmux ! queue ! rtmpsink location="rtmp://127.0.0.1:1935/live/scp live=1" 

